package com.qianfeng.zhangwei.extend;

import android.content.Intent;
import android.support.v7.app.AppCompatActivity;
import android.view.View;
import android.widget.Button;

import com.qianfeng.zhangwei.extend.webview.WebViewActivity_;

import org.androidannotations.annotations.Click;
import org.androidannotations.annotations.EActivity;
import org.androidannotations.annotations.ViewById;

@EActivity(R.layout.activity_main)
public class MainActivity extends AppCompatActivity {
    @ViewById
    Button webViewBtn;

    @Click({R.id.webViewBtn})
    public void onClick(View view) {
        switch (view.getId()) {
            case R.id.webViewBtn:
                startActivity(new Intent(MainActivity.this, WebViewActivity_.class));
                break;
        }
    }

}
